package org.csu.mypetstore.service;

import org.csu.mypetstore.commonResponse.CommonResponse;
import org.csu.mypetstore.domin.Product;

import java.util.List;

public interface ProductService {
    CommonResponse<List<Product>> getProductListByCategory(String categoryId);
    CommonResponse<Product>getProduct(String productId);
    CommonResponse<List<Product>> searchProductList(String keywords);
    List<Product> getAllProduct();
}
